#-------------------------------------------------
#
# Project created by QtCreator 2013-01-11T21:06:21
#
#-------------------------------------------------

QT       += core gui
TRANSLATIONS = QmountControl_fr.ts
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = QmountControl
TEMPLATE = app


SOURCES += main.cpp\
        mainwindow.cpp\
        logger/logmanager.cpp\
        mount/mount.cpp\
        mount/threadmount.cpp\
        mount/gto1200.cpp\
        timer.cpp\
        serial.cpp \
        #urbi.cpp

HEADERS  += mainwindow.h\
        logger/logmanager.h\
        mount/mount.h\
        mount/threadmount.h\
        mount/gto1200.h\
        timer.h\
        serial.h\
        type.h \
        #urbi.h


FORMS    += mainwindow.ui


# only if static library
include(library/qextserialport/src/qextserialport.pri)
INCLUDEPATH += library/qextserialport/src/
#INCLUDEPATH += library/urbi/
#INCLUDEPATH += C:\Program Files (x86)\Gostai Engine Runtime\2.7.5\include
win32 {

            #DEFINES += QEXTSERIALPORT_USING_SHARED
            #LIBS += -L ./library/urbi/ -lliburbi
            #LIBS += -L library/urbi/liburbi.a
            #win32-g++:LIBS += -L$$PWD/library/urbi/liburbi.a
            #win32-g++:LIBS += -L$$PWD/library/urbi/libjpeg.a
            #LIBS += C:\Program Files (x86)\Gostai Engine Runtime\2.7.5\bin
            #LIBS += -L "./library/urbi/libjpeg.a"
            # DEBUG
            win32::debug {
            CONFIG += console
                #LIBS += -L "./library/dll/qextserialportd1.dll"
            }
            # RELEASE
            win32::release {
            CONFIG -= console
                #LIBS += -L "library/dll/qextserialport1.dll"
            }
      }

unix {
        CONFIG += console
        #INCLUDEPATH += library/qextserialport/src/
        #DEFINES += QEXTSERIALPORT_USING_SHARED
        #CONFIG += extserialport

        # DEBUG
        CONFIG(debug) {
        CONFIG += console
            #LIBS += -L "./library/dll/libqextserialport.so.1.2.0"
        }
        # RELEASE
        CONFIG(release) {
            #LIBS += -L "library/dll/libqextserialport.so.1.2.0"
        }
     }




#INCLUDEPATH += $$PWD/library/urbi
#DEPENDPATH += $$PWD/library/urbi
